import { dataType } from "element-plus/es/components/table-v2/src/common.mjs"

export interface reqtype {
    status: number,
    message?: string,
}
export interface DataObject {
    cloud: string
    fxDate: string
    humidity: string
    iconDay: string
    iconNight: string
    moonPhase: string
    moonPhaseIcon: string
    moonrise: string
    moonset: string
    precip: string
    pressure: string
    sunrise: string
    sunset: string
    tempMax: string
    tempMin: string
    textDay: string
    textNight: string
    uvIndex: string
    vis: string
    wind360Day: string
    wind360Night: string
    windDirDay: string
    windDirNight: string
    windScaleDay: string
    windScaleNight: string
    windSpeedDay: string
    windSpeedNight: string
}
export interface Data24Object {
    fxTime: string
    temp: string
    icon: string
    text: string
    wind360: string
    windDir: string
    windScale: string
    windSpeed: string
    humidity: string
    pop: string
    precip: string
    pressure: string
    cloud: string
    dew: string
}
export interface DataQualityObject {
    date: string
    type: string
    name: string
    level: string
    category: string
    text: string
}

export interface weather24data {
    code: string,
    updateTime: string,
    fxLink: string,
    hourly: Data24Object[],
    refer: any,
}

export interface resweather24data extends reqtype {
   data: weather24data
}

export interface weatherdata {
    code: string,
    updateTime: string,
    fxLink: string,
    daily: DataObject[],
    refer: any,
}

export interface resweatherdata extends reqtype {
    data:weatherdata
}
export interface dataType {
    code: string,
    updateTime: string,
    fxLink: string,
    daily: DataQualityObject[],
    refer: any,
}
export interface resqualitydata extends reqtype {
    data:dataType
}